<?php

use Illuminate\Support\Facades\Route;
use App\Http\Controllers\admin\IndexController;
use App\Http\Controllers\admin\TestController;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
//
//include ('../routes/czy/web.php');
//include('Admin/Admin.php');
//include('czy/web.php');
//include ('../routes/ly/web.php');

Route::get('/', function () {
    return view('welcome');
});

Route::post('SMS', [IndexController::class, 'SMS']);
Route::get('CreateIndex', [TestController::class, 'CreateIndex']);
Route::post('add', [TestController::class, 'add']);
Route::get('search', [TestController::class, 'search']);
Route::get('EsHistory', [TestController::class, 'EsHistory']);
Route::get('EsRank', [TestController::class, 'EsRank']);



